package com.hopu.blb_erp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hopu.blb_erp.entity.TIomWarehouse;
import com.hopu.blb_erp.entity.TMenu;
import com.hopu.blb_erp.entity.TWarning;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TWarningMapper extends BaseMapper<TWarning> {
    List<TWarning> selectAll();
    Integer selectCounts();
    List<TWarning> selectPages(Integer current, Integer pageSize);
    Integer selectCount(@Param("productId")String productId, @Param("menuName")String menuName);
    //分页模糊查询
    List<TWarning> selectPage(@Param("current")Integer current, @Param("pageSize") Integer pageSize, @Param("productId")String productId, @Param("menuName")String menuName);
    //通过仓库编号查询
    List<TWarning> selectNum(String menuId);
    TWarning selectNums(String menuId);
}
